package it.yuzuojian.com.dao;

import it.yuzuojian.com.domain.Singer;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SingerMapper {
    public Integer insert(Singer singer);
    public Integer update(Singer singer);
    public Integer delete(Integer id);
    public Singer selectById(Integer id);
    public List<Singer> selectAll();
    public List<Singer> selectByName(String name);
    public List<Singer> selectBySex(Integer sex);
}
